package com.yixq.soa.service.user.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

import com.yixq.soa.service.web.annotation.DataValid;
import com.yixq.soa.service.web.em.RegexType;

@ApiModel(description = "支付产品请求表单参数")
public class RpPayProductVo implements Serializable {

	private static final long serialVersionUID = 1L;
	@DataValid(description = "主键ID", maxLength = 11, nullable = true, regexType = RegexType.NUMBER)
	@ApiModelProperty(value = "主键ID", notes = "主键ID", required = false, dataType = "int")
	private String id;
	@ApiModelProperty(value = "创建时间", notes = "创建时间", required = false, dataType = "date")
	private Date createTime;

	@ApiModelProperty(value = "结束时间", notes = "结束时间", required = false, dataType = "date")
	private Date editTime;
	@DataValid(description = "状态", maxLength = 30, nullable = true, regexType = RegexType.NO_SPECIALCHAR)
	@ApiModelProperty(value = "状态", notes = "状态", required = false, dataType = "string")
	private String status;

	@DataValid(description = "产品编码", maxLength = 30, nullable = true, regexType = RegexType.NO_SPECIALCHAR)
	@ApiModelProperty(value = "产品编码", notes = "产品编码", required = false, dataType = "string")
	private String productCode;
	@DataValid(description = "产品名称", maxLength = 30, nullable = true, regexType = RegexType.NO_SPECIALCHAR)
	@ApiModelProperty(value = "产品名称", notes = "产品名称", required = false, dataType = "string")
	private String productName;

	@DataValid(description = "审核状态", maxLength = 30, nullable = true, regexType = RegexType.NO_SPECIALCHAR)
	@ApiModelProperty(value = "审核状态", notes = "审核状态", required = false, dataType = "string")
	private String auditStatus;

	@DataValid(description = "版本", maxLength = 5, nullable = true, regexType = RegexType.NUMBER)
	@ApiModelProperty(value = "版本", notes = "版本", required = false, dataType = "string")
	private Short version;

	/**
	 * This method was generated by MyBatis Generator. This method returns the
	 * value of the database column rp_pay_product.id
	 *
	 * @return the value of rp_pay_product.id
	 *
	 * @mbggenerated Mon Apr 10 18:38:15 CST 2017
	 */
	public String getId() {
		return id;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the
	 * value of the database column rp_pay_product.id
	 *
	 * @param id
	 *            the value for rp_pay_product.id
	 *
	 * @mbggenerated Mon Apr 10 18:38:15 CST 2017
	 */
	public void setId(String id) {
		this.id = id == null ? null : id.trim();
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the
	 * value of the database column rp_pay_product.create_time
	 *
	 * @return the value of rp_pay_product.create_time
	 *
	 * @mbggenerated Mon Apr 10 18:38:15 CST 2017
	 */
	public Date getCreateTime() {
		return createTime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the
	 * value of the database column rp_pay_product.create_time
	 *
	 * @param createTime
	 *            the value for rp_pay_product.create_time
	 *
	 * @mbggenerated Mon Apr 10 18:38:15 CST 2017
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the
	 * value of the database column rp_pay_product.edit_time
	 *
	 * @return the value of rp_pay_product.edit_time
	 *
	 * @mbggenerated Mon Apr 10 18:38:15 CST 2017
	 */
	public Date getEditTime() {
		return editTime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the
	 * value of the database column rp_pay_product.edit_time
	 *
	 * @param editTime
	 *            the value for rp_pay_product.edit_time
	 *
	 * @mbggenerated Mon Apr 10 18:38:15 CST 2017
	 */
	public void setEditTime(Date editTime) {
		this.editTime = editTime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the
	 * value of the database column rp_pay_product.status
	 *
	 * @return the value of rp_pay_product.status
	 *
	 * @mbggenerated Mon Apr 10 18:38:15 CST 2017
	 */
	public String getStatus() {
		return status;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the
	 * value of the database column rp_pay_product.status
	 *
	 * @param status
	 *            the value for rp_pay_product.status
	 *
	 * @mbggenerated Mon Apr 10 18:38:15 CST 2017
	 */
	public void setStatus(String status) {
		this.status = status == null ? null : status.trim();
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the
	 * value of the database column rp_pay_product.product_code
	 *
	 * @return the value of rp_pay_product.product_code
	 *
	 * @mbggenerated Mon Apr 10 18:38:15 CST 2017
	 */
	public String getProductCode() {
		return productCode;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the
	 * value of the database column rp_pay_product.product_code
	 *
	 * @param productCode
	 *            the value for rp_pay_product.product_code
	 *
	 * @mbggenerated Mon Apr 10 18:38:15 CST 2017
	 */
	public void setProductCode(String productCode) {
		this.productCode = productCode == null ? null : productCode.trim();
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the
	 * value of the database column rp_pay_product.product_name
	 *
	 * @return the value of rp_pay_product.product_name
	 *
	 * @mbggenerated Mon Apr 10 18:38:15 CST 2017
	 */
	public String getProductName() {
		return productName;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the
	 * value of the database column rp_pay_product.product_name
	 *
	 * @param productName
	 *            the value for rp_pay_product.product_name
	 *
	 * @mbggenerated Mon Apr 10 18:38:15 CST 2017
	 */
	public void setProductName(String productName) {
		this.productName = productName == null ? null : productName.trim();
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the
	 * value of the database column rp_pay_product.audit_status
	 *
	 * @return the value of rp_pay_product.audit_status
	 *
	 * @mbggenerated Mon Apr 10 18:38:15 CST 2017
	 */
	public String getAuditStatus() {
		return auditStatus;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the
	 * value of the database column rp_pay_product.audit_status
	 *
	 * @param auditStatus
	 *            the value for rp_pay_product.audit_status
	 *
	 * @mbggenerated Mon Apr 10 18:38:15 CST 2017
	 */
	public void setAuditStatus(String auditStatus) {
		this.auditStatus = auditStatus == null ? null : auditStatus.trim();
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the
	 * value of the database column rp_pay_product.version
	 *
	 * @return the value of rp_pay_product.version
	 *
	 * @mbggenerated Mon Apr 10 18:38:15 CST 2017
	 */
	public Short getVersion() {
		return version;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the
	 * value of the database column rp_pay_product.version
	 *
	 * @param version
	 *            the value for rp_pay_product.version
	 *
	 * @mbggenerated Mon Apr 10 18:38:15 CST 2017
	 */
	public void setVersion(Short version) {
		this.version = version;
	}
}